<link href="../addons/jy_globonus/css/style.css" rel="stylesheet">
<div class="fui-page fui-page-current page-commission-log">
    <div class="fui-header">
        <div class="fui-header-left">
            <a class="back" ng-click="goback()"></a>
        </div>
        <div class="title">股东中心</div>
    </div>
    <div class="fui-content navbar">
       
		<div class='fui-cell-group' style='margin-top:0px;'>
			<div class='fui-cell bold'>
				<div ng-if="pagedata.params.status==1" class='fui-cell-label' style='width:auto'>
                   已结算分红
                </div>
				<div ng-if="pagedata.params.status==0" class='fui-cell-label' style='width:auto'>
                   待结算分红
                </div>
				<div ng-if="pagedata.params.status=='all'" class='fui-cell-label' style='width:auto'>
                   累计分红
                </div>
				<div class='fui-cell-info'></div>
				<div  class='fui-cell-remark noremark'>+
					<span ng-if="pagedata.params.status==1">
						{{pagedata.total1}}
					</span>
					<span ng-if="pagedata.params.status==0">
						{{pagedata.total0}}
					</span>
					<span ng-if="pagedata.params.status=='all'">
						{{pagedata.total}}
					</span>
					元
				</div>
			</div>
		</div>
		<div class="fui-tab fui-tab-warning" id="tab">
            <a ng-class="{'active':pagedata.params.status == 'all'}" class="external" ng-click="pagedata.params.status='all';tool.get_list('jy_globonus/bonus/list/',true);" >全部</a>
            <a ng-class="{'active':pagedata.params.status == 0}" class="external" ng-click="pagedata.params.status='0';tool.get_list('jy_globonus/bonus/list/',true);" >待结算</a>
            <a ng-class="{'active':pagedata.params.status == 1}" class="external" ng-click="pagedata.params.status='1';tool.get_list('jy_globonus/bonus/list/',true);" >已结算</a>
        </div>
		<div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
			<i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
		</div>
		<div class='fui-list-group container' ng-show="pagedata.list.length>0" >
					<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
						<div class="fui-list-inner">
							<div class='title'>
								<span class="label label-success">{{item.statustitle}}</span>
								<span class="red" style="margin-left:0.3rem">分红金额：￥{{item.money}}</span>
								<span class="red" style="font-size:0.6rem;">到账：￥{{item.paymoney}}</span>
							</div>
							<div class='gray'>{{item.createtime}}</div>
						</div>
						<div class='fui-list-angle'>
							<span class='fui-label fui-label-default gray' style="background:#f2f2f2;border-radius:0.2rem;">{{item.date}}</span>
						</div>
					</div>
		</div>

   </div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('jy_globonus/bonus/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_globonus/bonus/list/');
}
</script>